import * as hx from "hbuilderx";
import { COMMAND_IDS, onCommand } from "./commands";

export function activate(context: any) {
    for(let key in COMMAND_IDS){
        context.subscriptions.push(hx.commands.registerCommand(COMMAND_IDS[key], (param: any) => {
            onCommand(COMMAND_IDS[key], param)
        }));
    }
}

export function deactivate() {
}